#字符串的反转
def reverse(s):
    return s[::-1]


#字符串的切片
def substr(s, x, y):
    return s[x: y]

